differentiability and continuity